﻿using AutoMapper;
using StarsAdmin.Application.LoginLog.Dtos;
using StarsAdmin.Core.DB.Entities;
using StarsAdmin.Core.Models;

namespace StarsAdmin.Application.LoginLog.Mappings
{
    public class LoginLogAutoMapperProFile : Profile
    {
        public LoginLogAutoMapperProFile()
        {
            CreateMap<LoginLogEntity, LoginLogDto>();
            CreateMap<AddLoginLogInput, LoginLogEntity>();
            CreateMap<Page<LoginLogEntity>, Page<LoginLogDto>>();
        }
    }
}